<?
/*******************************************************************************
ils_request_confirm.php
display confirmation that materials have been added to class

Created by Jason White (jbwhite@emory.edu)

This file is part of NCSU's distribution of ReservesDirect. This version has not been downloaded from Emory University
or the original developers of ReservesDirect. Neither Emory University nor the original developers of ReservesDirect have authorized
or otherwise endorsed or approved this distribution of the software.

Copyright (c) 2004-2006 Emory University, Atlanta, Georgia.

Licensed under the NCSU ReservesDirect License, Version 2.0 (the "License"); 
you may not use this file except in compliance with the License.You may obtain a copy of the full License at
 http://www.lib.ncsu.edu/it/opensource/

ReservesDirect is distributed in the hope that it will be useful,
but is distributed "AS IS" and WITHOUT ANY WARRANTY, without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE, and without any warranty as to non-infringement of any third
party's rights.See the License for the specific language governingpermissions and limitations under the License.

The original version of ReservesDirect is located at:
http://www.reservesdirect.org/

This version of ReservesDirect, distributed by NCSU, is located at:
http://code.google.com/p/reservesdirect-ncsu/

*******************************************************************************/
require_once("secure/config.inc.php");
require_once("secure/common.inc.php");
require_once("secure/classes/courseInstance.class.php");
require_once("lib/RD/Ils.php");

$ils = RD_Ils::initILS();
$ils_result = $ils->search('barcode', $_REQUEST['barcode']); 

$item_data  = $ils_result->to_a();

$ci = new courseInstance($_REQUEST['ci']);
$ci->getPrimaryCourse();


// workaround for workaround for ie's idiotic caching policy handling
header("Cache-Control: no-cache");
header("Pragma: no-cache");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Reserve Request for Woodruff Library, Emory University</title>
  <link rev="made" href="mailto:reserves@emory.edu" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="description" content="Request form for reserving books in Woodruff Library and for requesting book chapters and other materials for online use in  ReservesDirect." />

  <meta name="keywords" content="reserves, ereserves, electronic reserves, e-reserves, request, scanning, scan, digitization, Emory, Woodruff, library, Woodruff library, Emory University, main library" />
  <link rel="stylesheet" href="css/ReservesStyles.css" type="text/css">

  <style type="text/css">
	body {font-family: verdana; margin: 25px;}
	p, h1, h2, legend, li { font-family: verdana; margin-left: 50px; }
	p, li { font-size: small; }
	
	h1 { font-size: x-large; font-weight: bold; } 
	h2 { font-size: large; font-weight: bold; }
  </style>
</head>

<body bgcolor="#FFFFCC" text="#000000" link="#000080" vlink="#800080" alink="#FF0000">
	<h1>Reserve Request Successful</h1>

	<p>
		<h2>You have requested <?= $item_data['title'] ?> for <?= $ci->course->displayCourseNo() ?>, <?= $ci->getTerm() ?> <?= $ci->getYear() ?>.</h2>
		<br/>
		Please remember:
	</p>	
	
	<ul>
		<li>Reserve requests are processed in the order received.</li>
		
		<li>Reserve requests are normally fulfilled within <strong>7 days</strong> during the semester or <strong>14 days</strong> near the start of the semester.</li> 
		<li>Reserve requests can take significantly longer to fulfill when items are checked out or missing.</li>
	</ul>
	
	<p>Login to <a href="<?= $g_siteURL ?>?cmd=editClass&ci=<?= $_REQUEST['ci'] ?>">ReservesDirect</a> to review your course materials.</p>
	<div style="height: 300px;"></div>
	
    <? include("secure/html/footer.inc.html"); ?>
</body>
</html>